<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Settings</title>
	<jsp:include page="/jsp/header.jsp" />
</head>	
<body>

<div id="sheader">
<ul>
	<li id="selected"><a href="#">Database</a></li>
	<li><a href="${WEB_BASE }jsp/Settings/settings2.html">Fine</a></li>
	<li><a href="${WEB_BASE }jsp/Settings/settings3.html">General</a></li>
</ul>

</div>
<br/><br/><br/>

<div id="content">
	<table class="sTable">
    <tr>	
		<td><b>Database located:</b></td><br />
        <td><input type="radio" name="jradiobutton1" id="radio1"  />in this Computer<br />
       <!-- <input type="radio" name="jradiobutton2" value="Female"/>another Computer</td></tr>-->
       
       <tr><td></td><td><input type="radio" name="jradiobutton1" id="radio2" />another Computer</td></tr>
        <tr><td></td><td><input type="text"   disabled="disabled" class="sTextfield" id="text"/></td></tr>
        <tr><td></td><td><input type="submit" value="Test" class="sTest" id="Test" /></td>
	</tr>
</table>
</div>
<div id="sbuttons">
        <input type="submit" name="jButton4" value="Save" class="sSave" />
        <input type="submit" name="jButton4" value="Cancel" class="sCancel" />
</div>
<script type="text/javascript" src="./jquery-1.8.3.js"></script>
<script type="text/javascript" src="./jquery.validate.js"></script>
<script type="text/javascript" src="./util.js"></script>




<script type="text/javascript">
$(document).ready(function(){
$("#Test").click(function(){
if ($("#radio1").is(":checked")) {
   $("#text").val("local host");
}
if ($("#radio2").is(":checked")) {
   $("#text").val("");
}


});

});
</script>
<jsp:include page="/jsp/footer.jsp" />
</body>
</html>